package com.loctek.importexport.mvp.acitvity;

import android.support.annotation.NonNull;
import android.view.View;

import com.loctek.importexport.R;
import com.loctek.importexport.base.BaseActivity;
import com.loctek.importexport.base.BasePresenter;
import com.loctek.importexport.base.BaseView;

import butterknife.BindView;
import xyz.zpayh.hdimage.HDImageView;

public class SeeBigImgActivity extends BaseActivity<BaseView, BasePresenter<BaseView>> implements View.OnClickListener {


    @BindView(R.id.image)
    HDImageView image;

    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_see_big_img;
    }

    @Override
    protected void initInjector() {

    }

    @Override
    protected void initViews() {
        setTitle(getResources().getString(R.string.see_big_img));

        image.setImageURI(getIntent().getStringExtra("url"));
    }

    @Override
    protected void updateViews(boolean isRefresh) {

    }

    @NonNull
    @Override
    public BasePresenter<BaseView> createPresenter() {
        return new BasePresenter(getApp());
    }

    @Override
    public void onClick(View view) {

    }

}
